﻿namespace Common.Contract.SystemConfig.Record
{
    using System;
    using System.Runtime.Serialization;

    [DataContract]
    public class ApplicationErrorRecord
    {
        [DataMember]
        public string Name { get; set; }

        [DataMember(IsRequired = true)]
        public string Message { get; set; }

        [DataMember(IsRequired = true)]
        public string Line { get; set; }

        [DataMember(IsRequired = true)]
        public DateTime? CreationDate { get; set; }

        [DataMember(IsRequired = false)]
        public bool? TransferFlag { get; set; }
    }
}
